cmd: clk: Add trivial implementation of clock dump for DM
authorMarek Vasut <[email protected]>
Wed, 8 Aug 2018 20:10:44 +0000 (22:10 +0200)
committerSimon Glass <[email protected]>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commitff8eee0330a68ee3fbb3e15ed8e315043784869f
tree35294432b19e1faad7148aa6d8c9276c79ba7fff
parente6fd0181082a04e743a07ebd9f6fdd0e06dc1399
cmd: clk: Add trivial implementation of clock dump for DM

Add trivial implementation of the clk dump in case DM is enabled.
This implementation just iterates over all the clock registered
with the CLK uclass and prints their rate.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Ley Foon Tan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Ley Foon Tan <[email protected]>
cmd/clk.c